'Declaration
Public Overloads Sub Write(Of T As {New, Struct})( _
ByVal value As T _
)
public void Write<T>(
Tvalue
)
where T: new(), struct
Parameters
value
The value to write to the stream.
Type Parameters
T
The type of the value to be written to the stream.
Exceptions
Exception
Description
System.NotSupportedException
The stream does not support writing.
Remarks
In order to provide faster read/write, this operation doesn't check stream bound. A client must carefully not read/write above the size of this datastream.